<?php
/**
 * Created by PhpStorm.
 * User: kb130
 * Date: 2017/8/18
 * Time: 15:16
 */

namespace util\validate\rules;

/**
 * 验证值是否不在一个范围内
 *
 * Class NotIn
 * @package validate\rules
 */
class NotIn extends BaseRule
{

    public function verify()
    {
        return !in_array($this->value, $this->params);
    }
}